const api = {
	// 公用
	common: {
		allocatProgram: {
			url: '/api/wxApi/allocatProgram',
			method: 'GET',
			desc: '小程序信息查询'
		},
		init: {
			url: '/addons/drama/index/init',
			method: 'GET',
			desc: '初始信息'
		},
		wxmpLogin: {
			url: '/addons/drama/user/wxMinilogin',
			method: 'POST',
			desc: '微信小程序登录'
		},
		pay: {
			url: '/addons/drama/pay/prepay',
			method: 'POST',
			desc: '支付'
		},
		upload: {
			url: '/addons/drama/index/upload',
			method: 'POST',
			desc: '上传文件'
		},
		richtext: {
			url: '/addons/drama/index/richtext',
			method: 'GET',
			desc: '协议内容'
		},
		wxmpQrcode: {
			url: '/addons/drama/share/qrcode',
			method: 'GET',
			desc: '微信小程序分享小程序码'
		},
		swiper: {
			url: '/addons/drama/block/index',
			method: 'GET',
			desc: '轮播图'
		},
		module: {
			url: '/addons/drama/module/index',
			method: 'GET',
			desc: '功能模块'
		},
		update: {
			url: '/addons/drama/index/version',
			method: 'GET',
			desc: 'app版本检测'
		}
	},
	// 登录
	login: {
		wxmpLogin: {
			url: '/api/wxApi/filmDramaMemberAdd',
			method: 'GET',
			desc: '微信小程序登录'
		},
		// accountLogin: {
		// 	url: '/addons/drama/user/accountLogin',
		// 	method: 'POST',
		// 	desc: '账号密码登录'
		// },
		// codeLogin: {
		// 	url: '/addons/drama/user/smsLogin',
		// 	method: 'POST',
		// 	desc: '验证码登录/注册'
		// },
		// register: {
		// 	url: '/addons/drama/user/smsRegister',
		// 	method: 'POST',
		// 	desc: '注册'
		// },
		// forgotPassword: {
		// 	url: '/addons/drama/user/forgotPwd',
		// 	method: 'POST',
		// 	desc: '找回密码'
		// },
		// sendCode: {
		// 	url: '/addons/drama/sms/send',
		// 	method: 'POST',
		// 	desc: '发送验证码'
		// },
		// wxBind: {
		// 	url: '/addons/drama/user/register',
		// 	method: 'POST',
		// 	desc: '微信授权后绑定手机号'
		// },
		// getWxMobile: {
		// 	url: '/addons/drama/user/getWxPhone',
		// 	method: 'POST',
		// 	desc: '获取微信手机号'
		// }
	},
	// 用户
	user: {
		info: {
			url: '/addons/drama/user/index',
			method: 'GET',
			desc: '个人信息'
		},
		vip: {
			url: '/addons/drama/vip/index',
			method: 'GET',
			desc: '会员规格'
		},
		updateInfo: {
			url: '/addons/drama/user/profile',
			method: 'POST',
			desc: '修改用户信息'
		},
		delete: {
			url: '/addons/drama/user/delete',
			method: 'GET',
			desc: '删除用户'
		},
		task: {
			url: '/addons/drama/task/index',
			method: 'GET',
			desc: '获取积分任务'
		},
		taskFinish: {
			url: '/addons/drama/task/add',
			method: 'POST',
			desc: '完成任务'
		},
		cdkey: {
			url: '/addons/drama/cryptocard/decrypt_card',
			method: 'GET',
			desc: '兑换卡密'
		},
		share: {
			url: '/addons/drama/wechat/jssdk',
			method: 'POST',
			desc: '微信公众号分享'
		}
	},
	// 视频
	video: {
		handpickList: {
			url: '/api/wxApi/handpickList',
			method: 'GET',
			desc: '精选剧集列表'
		},
		classify: {
			url: '/api/wxApi/filmDlassifyList',
			method: 'GET',
			desc: '视频分类列表查询'
		},
		filmDramaList: {
			url: '/api/wxApi/filmDramaList',
			method: 'GET',
			desc: '剧目列表查询'
		},
		menu: {
			url: '/addons/drama/video/detail',
			method: 'GET',
			desc: '节目单'
		},
		play: {
			url: '/addons/drama/video/getEpisodesUrl',
			method: 'POST',
			desc: '获取视频播放链接'
		},
		recommend: {
			url: '/api/wxApi/playLink',
			method: 'GET',
			desc: '获取视频'
		},
		filmLikeCollectList: {
			url: '/api/wxApi/filmLikeCollectList',
			method: 'GET',
			desc: '获取收藏追剧列表'
		},
		filmViewHistoryList: {
			url: '/api/wxApi/filmViewHistoryList',
			method: 'GET',
			desc: '获取观看历史列表'
		},
		addRecord: {
			url: '/addons/drama/video/log',
			method: 'POST',
			desc: '添加追剧和保存视频进度'
		},
		deleteRecord: {
			url: '/addons/drama/video/delLog',
			method: 'POST',
			desc: '取消追剧和删除播放记录'
		},
		getRecord: {
			url: '/addons/drama/video/logList',
			method: 'GET',
			desc: '获取播放记录'
		},
		likes: {
			url: '/api/wxApi/filmDramaSeriesSecond',
			method: 'POST',
			desc: '点赞'
		}
	},
	//微信充值会员、金币
	wchatapi: {
		bingeWatchingDramaList: {
			url: '/api/wxApi/bingeWatchingDramaList',
			method: 'GET',
			desc: '刷剧剧目'
		},
		allocatRechargeList: {
			url: '/api/wxApi/allocatRechargeList',
			method: 'GET',
			desc: '查询充值设置'
		},
		rechargePackageList: {
			url: '/api/wxApi/rechargePackageList',
			method: 'GET',
			desc: '金币充值套餐列表'
		},
		orderAccountRechargeList: {
			url: '/api/wxApi/orderAccountRechargeList',
			method: 'GET',
			desc: '充值余额订单列表'
		},
		rechargePackage: {
			url: '/api/wxApi/rechargePackage',
			method: 'POST',
			desc: '金币充值'
		},
		vipPackageList: {
			url: '/api/wxApi/vipPackageList',
			method: 'GET',
			desc: '会员充值套餐列表'
		},
		rechargeVip: {
			url: '/api/wxApi/rechargeVip',
			method: 'POST',
			desc: '会员充值'
		},
		vipEequityList: {
			url: '/api/wxApi/vipEequityList',
			method: 'GET',
			desc: '权益套餐列表'
		},
		orderVipRechargeList: {
			url: '/api/wxApi/orderVipRechargeList',
			method: 'GET',
			desc: '充值订单列表'
		},
		orderPayRechargeList: {
			url: '/api/wxApi/orderPayRechargeList',
			method: 'GET',
			desc: '消费订单列表'
		},
		allocatProgram: {
			url: '/api/wxApi/allocatProgram',
			method: 'GET',
			desc: '小程序信息'
		},
		allocatFunctionList: {
			url: '/api/wxApi/allocatFunctionList',
			method: 'GET',
			desc: '功能管理列表'
		},
		filmViewHistoryList: {
			url: '/api/wxApi/filmViewHistoryList',
			method: 'GET',
			desc: '历史记录'
		},
		filmDramaMember: {
			url: '/api/wxApi/filmDramaMember',
			method: 'GET',
			desc: '会员信息'
		},
		allocatProtocolList: {
			url: '/api/wxApi/allocatProtocolList',
			method: 'GET',
			desc: '协议管理列表'
		},
		allocatProtocolById: {
			url: '/api/wxApi/allocatProtocolById',
			method: 'GET',
			desc: '协议内容id查询'
		},
	},
	// 虚拟支付
	virtualPayment: {
		virtualPaymentNotifyUrl: {
			url: '/api/wxApi/virtualPaymentNotifyUrl',
			method: 'POST',
			desc: '虚拟支付-充值回调'
		},
		virtualPaymentPackage: {
			url: '/api/wxApi/virtualPaymentPackage',
			method: 'POST',
			desc: '虚拟支付-充值虚拟币'
		},
		virtualPaymentVip: {
			url: '/api/wxApi/virtualPaymentVip',
			method: 'POST',
			desc: '虚拟支付-充值会员'
		}
	},
	// 案例
	case: {
		classify: {
			url: '/addons/drama/archives/cotegory',
			method: 'GET',
			desc: '分类'
		},
		list: {
			url: '/addons/drama/archives/index',
			method: 'GET',
			desc: '列表'
		},
		detail: {
			url: '/addons/drama/archives/show',
			method: 'GET',
			desc: '详情'
		}
	},
	// 订单 (vip)
	order: {
		list: {
			url: '/addons/drama/vip_order/index',
			method: 'GET',
			desc: '列表'
		},
		detail: {
			url: '/addons/drama/vip_order/detail',
			method: 'GET',
			desc: '详情'
		},
		create: {
			url: '/addons/drama/vip_order/recharge',
			method: 'POST',
			desc: '生成订单'
		}
	},
	// 分销商
	dealer: {
		info: {
			url: '/addons/drama/user/userData',
			method: 'GET',
			desc: '分销商信息'
		},
		level: {
			url: '/addons/drama/reseller/index',
			method: 'GET',
			desc: '等级'
		},
		orderList: {
			url: '/addons/drama/reseller/order_list',
			method: 'GET',
			desc: '订单记录'
		},
		orderDetail: {
			url: '/addons/drama/reseller/order_detail',
			method: 'GET',
			desc: '订单详情'
		},
		createOrder: {
			url: '/addons/drama/reseller/recharge',
			method: 'POST',
			desc: '创建订单'
		},
		superior: {
			url: '/addons/drama/share/add',
			method: 'GET',
			desc: '添加上级'
		}
	},
	// 积分
	integral: {
		list: {
			url: '/addons/drama/usable/index',
			method: 'get',
			desc: '积分套餐'
		},
		record: {
			url: '/addons/drama/user_wallet_log/index',
			method: 'GET',
			desc: '积分流水记录'
		},
		create: {
			url: '/addons/drama/usable/recharge',
			method: 'post',
			dessc: '创建订单'
		}
	},
	// 分享
	share: {
		record: {
			url: '/addons/drama/share/index',
			method: 'GET',
			desc: '分享记录'
		},
		team: {
			url: '/addons/drama/reseller/user',
			method: 'GET',
			desc: '团队'
		},
		brokerage: {
			url: '/addons/drama/reseller/log',
			method: 'GET',
			desc: '佣金'
		}
	},
	// 提现
	withdraw: {
		account: {
			url: '/addons/drama/user_bank/info',
			method: 'GET',
			desc: '提现账户'
		},
		addAccount: {
			url: '/addons/drama/user_bank/edit',
			method: 'POST',
			desc: '添加提现账户'
		},
		record: {
			url: '/addons/drama/user_wallet_apply/index',
			method: 'GET',
			desc: '提现记录'
		},
		apply: {
			url: '/addons/drama/user_wallet_apply/apply',
			method: 'POST',
			desc: '提现申请'
		},
		rule: {
			url: '/addons/drama/user_wallet_apply/rule',
			method: 'GET',
			desc: '提现规则'
		}
	},
	// 播放会员充值购买
	player: {
		filmDlassifyList: {
			url: '/api/wxApi/filmDlassifyList',
			method: 'GET',
			desc: '分类列表查询'
		},
		rechargePackageList: {
			url: '/api/wxApi/rechargePackageList',
			method: 'GET',
			desc: '充值套餐列表'
		},
		rechargePackage: {
			url: '/api/wxApi/rechargePackage',
			method: 'POST',
			desc: '购买虚拟币'
		},
		filmDramaMember: {
			url: '/api/wxApi/filmDramaMember',
			method: 'GET',
			desc: '查询会员信息'
		},
		buyDramaSeries: {
			url: '/api/wxApi/buyDramaSeries',
			method: 'POST',
			desc: '购买剧集'
		},
	},
	// 账户管理
	accountKeeper: {
		filmDramaMember: {
			url: '/api/wxApi/filmDramaMember',
			method: 'GET',
			desc: '会员信息查询'
		},
		orderVipRechargeList: {
			url: '/api/wxApi/orderVipRechargeList',
			method: 'GET',
			desc: '充值订单列表-充值记录'
		},
		orderPayRechargeList: {
			url: '/api/wxApi/orderPayRechargeList',
			method: 'GET',
			desc: '消费订单列表-消费记录'
		}
	},
	// CPS推广分销
	cpsdist: {
		publicizeTaskList: {
			url: '/api/wxPublicizeApi/publicizeTaskList',
			method: 'GET',
			desc: '微信API-推广任务列表'
		},
		publicizeTaskById: {
			url: '/api/wxPublicizeApi/publicizeTaskById',
			method: 'GET',
			desc: '微信API-推广任务详情'
		},
		getWithdrawAmount: {
			url: '/api/wxPublicizeApi/getWithdrawAmount',
			method: 'GET',
			desc: '微信API-结算金额查询'
		},
		oneLevelPublicize: {
			url: '/api/wxPublicizeApi/oneLevelPublicize',
			method: 'GET',
			desc: '微信API-一级推广列表查询'
		},
		publicizeDataList: {
			url: '/api/wxPublicizeApi/publicizeDataList',
			method: 'GET',
			desc: '微信API-推广计划列表查询'
		},
		publicizeDataRecordList: {
			url: '/api/wxPublicizeApi/publicizeDataRecordList',
			method: 'GET',
			desc: '微信API-参与任务列表'
		},
		publicizeDivideList: {
			url: '/api/wxPublicizeApi/publicizeDivideList',
			method: 'GET',
			desc: '微信API-分成列表查询'
		},
		publicizeRecordBind: {
			url: '/api/wxPublicizeApi/publicizeRecordBind',
			method: 'GET',
			desc: '微信API-推广记录绑定'
		},
		publicizeTaskShare: {
			url: '/api/wxPublicizeApi/publicizeTaskShare',
			method: 'GET',
			desc: '微信API-推广任务立即分享'
		},
		twoLevelPublicize: {
			url: '/api/wxPublicizeApi/twoLevelPublicize',
			method: 'GET',
			desc: '微信API-二级推广列表查询'
		},
		withdrawList: {
			url: '/api/wxPublicizeApi/withdrawList',
			method: 'GET',
			desc: '微信API-提现列表查询'
		},
		addPublicizeWithdraw: {
			url: '/api/wxPublicizeApi/addPublicizeWithdraw',
			method: 'POST',
			desc: '微信API-提现记录-创建提现'
		},
		publicizeDataEdit: {
			url: '/api/wxPublicizeApi/publicizeDataEdit',
			method: 'POST',
			desc: '微信API-修改推广数据'
		},
	},
	signin: {
		signin: {
			url: '/api/wxSignInApi/addSigninWelfare',
			method: 'GET',
			desc: '微信API-签到'
		},
		signinGoidConins: {
			url: '/api/wxSignInApi/memberGoldCoin',
			method: 'GET',
			desc: '微信API-我的金币'
		},
		signinTaskSuccess: {
			url: '/api/wxSignInApi/newSignInWelfare',
			method: 'GET',
			desc: '微信API-任务完成领取'
		},
		signinWelfareConfig: {
			url: '/api/wxSignInApi/signInWelfare',
			method: 'GET',
			desc: '微信API-签到福利配置'
		},
		signinWelfareList: {
			url: '/api/wxSignInApi/signInWelfareList',
			method: 'GET',
			desc: '微信API-福利记录列表'
		},
		signinMonetaryExchangeList: {
			url: '/api/wxSignInApi/signinCurrencyExchangeList',
			method: 'GET',
			desc: '微信API-币值兑换记录列表'
		},
		signinBalanceExchange: {
			url: '/api/wxSignInApi/signinExchange',
			method: 'POST',
			desc: '微信API-余额兑换'
		},
		signinGoodsExchange: {
			url: '/api/wxSignInApi/signinGoodsExchange',
			method: 'POST',
			desc: '微信API-商品兑换'
		},
		signinGoodsExchangeList: {
			url: '/api/wxSignInApi/signinGoodsExchangeList',
			method: 'GET',
			desc: '微信API-商品兑换记录列表'
		},
		signinGoodsList: {
			url: '/api/wxSignInApi/signinGoodsList',
			method: 'GET',
			desc: '微信API-商品列表'
		},
		signinList: {
			url: '/api/wxSignInApi/signinManageList',
			method: 'GET',
			desc: '微信API-签到列表'
		},
		signinEditMyInfo: {
			url: '/api/wxSignInApi/signinMemberInforEdit',
			method: 'POST',
			desc: '微信API-修改我的信息'
		},
		signinTaskList: {
			url: '/api/wxSignInApi/signinTaskList',
			method: 'GET',
			desc: '微信API-签到任务列表'
		},
		getHomePageExample: {
			url: '/api/flashBoxApi/getHomePageExample',
			method: 'GET',
			desc: '闪游盒子API-首页示例链接地址'
		},
	}

}

export default api;